package com.szpx.entity.HZJ;

 
import lombok.Data;
import java.util.Date;

import javax.persistence.Table;

/**
 * 公告实体类.
 * The @Data annotation from Lombok generates getters, setters, etc.
 * The @TableName annotation from MyBatis-Plus links this class to the 'announcements' database table.
 */
@Data
@Table(name = "announcements")
public class Announcement {

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 公告标题
     */
    private String title;

    /**
     * 公告内容
     */
    private String content;

    /**
     * 发布时间
     */
    private Date publishDate;

    /**
     * 状态 (例如: 已发布, 已下线, 草稿)
     */
    private String status;

    /**
     * 记录创建时间
     */
    private Date createdAt;

    /**
     * 记录更新时间
     */
    private Date updatedAt;
}